package com.rongji.dfish.demo.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * CommPostReply entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="COMM_POST_REPLY")

public class CommPostReply  implements java.io.Serializable {


    // Fields    

     private String replyId;
     private String postId;
     private String replyContent;
     private String replyCreator;
     private Date createTime;


    // Constructors

    /** default constructor */
    public CommPostReply() {
    }

	/** minimal constructor */
    public CommPostReply(String replyId) {
        this.replyId = replyId;
    }
    
    /** full constructor */
    public CommPostReply(String replyId, String postId, String replyContent, String replyCreator, Date createTime) {
        this.replyId = replyId;
        this.postId = postId;
        this.replyContent = replyContent;
        this.replyCreator = replyCreator;
        this.createTime = createTime;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="REPLY_ID", unique=true, nullable=false, length=16)

    public String getReplyId() {
        return this.replyId;
    }
    
    public void setReplyId(String replyId) {
        this.replyId = replyId;
    }
    
    @Column(name="POST_ID", length=16)

    public String getPostId() {
        return this.postId;
    }
    
    public void setPostId(String postId) {
        this.postId = postId;
    }
    
    @Column(name="REPLY_CONTENT", length=4000)

    public String getReplyContent() {
        return this.replyContent;
    }
    
    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }
    
    @Column(name="REPLY_CREATOR", length=16)

    public String getReplyCreator() {
        return this.replyCreator;
    }
    
    public void setReplyCreator(String replyCreator) {
        this.replyCreator = replyCreator;
    }
    
    @Column(name="CREATE_TIME", length=7)

    public Date getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
   








}